package com.yunc.modules.sys.mapper;

import com.yunc.base.SuperMapper;
import com.yunc.modules.sys.entity.SysMenu;
import com.yunc.modules.sys.entity.dto.AuthTreeDTO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 菜单管理
 *
 * @author congcong tao
 * @date 2018/1/24 10:32
 */
@Mapper
public interface SysMenuMapper extends SuperMapper<SysMenu> {
    List<AuthTreeDTO> queryMenuTreeForAuth(@Param("parentId") String parentId);
}
